<html>
<head><meta charset="utf-8"><title>conflicting activation order · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/conflicting.20activation.20order.html">conflicting activation order</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213075047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/conflicting%20activation%20order/near/213075047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/conflicting.20activation.20order.html#213075047">(Oct 12 2020 at 19:02)</a>:</h4>
<p><span class="user-mention" data-user-id="120179">@Eh2406</span> Do you happen to remember why the conflicting activations are displayed in reversed order (from greatest version to smallest)?  Specifically, the call to <code>.rev()</code> <a href="https://github.com/rust-lang/cargo/blob/ab69d6a99e5e54fb240c9f9f2fe6ae3897f6fe50/src/cargo/core/resolver/errors.rs#L113">here</a>.  An example is:</p>
<div class="codehilite"><pre><span></span><code>  previously selected package `bad v2.0.1`
    ... which is depended on by `baz v0.1.0`
    ... which is depended on by `foo v0.0.1 ([..])`

  previously selected package `bad v1.0.0`
    ... which is depended on by `bar v0.1.0`
    ... which is depended on by `foo v0.0.1 ([..])`
</code></pre></div>


<p>where <code>bad v2.0.1</code> appears before <code>bad v1.0.0</code>.</p>
<p>(I'm not sure it matters one way or the other, just curious of this was intentional.)</p>



<a name="213084072"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/conflicting%20activation%20order/near/213084072" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/conflicting.20activation.20order.html#213084072">(Oct 12 2020 at 20:37)</a>:</h4>
<p>I do not remember why we did that.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>